package com.kzw.bean;

import java.util.List;

/**
 * ajax输出对象
 */
public class Record {

	private int code;
	private String msg;
	private Long count;
	private Object data;

	private boolean success = true;

	public Record() {
	}

	public Record(boolean success) {
		this.success = success;
	}

	public Record(boolean success, int code, String msg) {
		this.code = code;
		this.msg = msg;
		this.success = success;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

}
